package com.example.unveil_the_leader.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName users
 */
@TableName(value ="users")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Users implements Serializable {
    /**
     * 用户id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户真实姓名
     */
    @TableField(value = "NAME")
    private String name;

    /**
     * 用户名
     */
    @TableField(value = "user_name")
    private String userName;

    /**
     * 密码
     */
    @TableField(value = "PASSWORD")
    private String password;

    /**
     * 班级
     */
    @TableField(value = "classes")
    private String classes;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 电话号码
     */
    @TableField(value = "phone_number")
    private String phoneNumber;

    /**
     * qq号码
     */
    @TableField(value = "qq")
    private String qq;

    /**
     * 个人简介
     */
    @TableField(value = "description")
    private String description;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private String createTime;

    /**
     * 用户角色(0:表示普通用户,1:表示管理员)
     */
    @TableField(value = "marker")
    private Integer marker;

    /**
     * 用户头像
     */
    @TableField(value = "photo")
    private String photo;

    /**
     * (0:表示未删除，1:表示已删除)
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}